import request from '@/utils/request'


//测试发文
export function testFwgl() {
  const data = {
    docUnid: "111111112",
    paperTitle:"稿纸题头",
    writerDept:"信心比金钱重要",
    writeCN:"蒋解革",
    writerId:"dustball",
    writerDate:"2021-04-10 10:10:10",
    fileWord:"云移",
    fileYear:"2021",
    fileNo:"12",
    secretLevel:"机密",
    urgencyLevel:"一般",
    subject:"哲学拔高人的高度和思维",
    mainSend:"信息"
  };
  return request({
    url: '/fwgl/form/add',
    method: 'post',
    data: data
  })
}

export function preSubmit(processId,id,data){
  return request({
    url:'/process/preSubmit/'+processId+"/"+id,
    method:'get',
    data:data
  });
}
